<div class="box">
	<div class="col-lg-5">
		<?php $rowData = $result->row(); ?>
		<img src="<?php echo base_url().'public/img/books/'.$rowData->post_image;?>" class="img-responsive">
	</div>
	<div class="col-lg-7">
		<span class="titleProduct"><?php echo $rowData->post_title; ?></span>
		<hr class="hrLine" />
		 <form id="formAddCard" class="formBuyOnePro" method="post" >
		 <?php //echo form_open('book/addCart','id="formAddCard"'); ?>
		<!-- 	<table class="table noBorder">
				<tr>

					<td width="100"><span class="txtPrice">Prix</span></td>
					<td><span class="price"><?php echo '€ '. number_format($rowData->price,2); ?></span></td>

					<td width="60"><?php echo form_input('qty','1','class="form-control no_radus"'); ?></td>
					
					<td><?php echo form_button('','Acheter Maintenant','class="btn btn-primary no_radus" id="btnBuyNow"'); ?></td>
					
					<td><?php echo form_submit('','Ajouter Au Panier','class="btn btn-primary no_radus"'); ?></td>
				</tr>
			</table> -->

			<div class="form-inline">

				<span class="txtPrice">Prix:</span>

				<span class="price"><?php echo number_format($rowData->price,2) . '€ TTC'; ?></span>	

				<?php echo form_input('qty','1','class="form-control no_radus" style="width:60px;"'); ?>

				<?php echo form_button('','Acheter','class="btn btn-primary btn-sm no_radus" id="btnBuyNow"'); ?>

				<?php echo form_submit('','Ajouter Au Panier','class="btn btn-primary btn-sm no_radus"'); ?>			

			</div>

			
			 
            <fieldset>
               	<?php echo form_hidden('bookName', $rowData->post_title); ?>
               	<?php echo form_hidden('img', $rowData->post_image); ?>
               	<?php echo form_hidden('price', $rowData->price); ?>
                <?php echo form_hidden('postId', $rowData->postid); ?>
                <?php echo form_hidden('shipping', $rowData->shipping); ?>
               
            </fieldset>
        <?php echo form_close(); ?>

		<form class="form-horizontal">
			<div class="form-group justTyfy">
			  	<div class="col-sm-12 textDetailMore">
			  		<span class=""><?php echo $rowData->post_description; ?></span>
			  	</div>
			  	<div class="col-sm-12">
			  		<p class="pull-right"><?php echo anchor("book/detailBookAll/bookId_".$rowData->postid,"Affiche la suite >>"); ?></p>
			  	</div>
			</div>
			
			
		</form>
	</div>
</div>

<!-- <div class="modal fade" id="orderCardOne" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content" id="modal_content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myModalLabel">Sign in</h4>
            </div> 
            <?php echo form_open('book/loginBuyNow','class="loginBuyNow"'); ?>
            <div class="modal-body">
                <div class="form-group">
                    <input type="text" name="email" class="form-control no_radus" id="uLogin" placeholder="Email" />
                    <span class="idEmail"></span>
                </div> 
                <div class="form-group">
                    <input type="password" id="passCard" name="password" class="form-control no_radus" id="uPassword" placeholder="Password" />
                    <span class="idPass"></span>
                </div> 
                <div class="checkbox">
                    <label>
                        <input name="remember" value="1" type="checkbox" /> Remember me
                    </label>
                </div>
                <a>Forget Password? </a><a href="<?php echo base_url(); ?>index.php/book/register"><span class="pull-right">Join Free</span></a>
            </div> 
            <div class="modal-footer">
                <input type="submit" class="form-control btn btn-primary" value="Ok"/>
                
            </div> 
            </form>
        </div>
    </div>
</div> -->